package com.ruoyi.project.system.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 查询进件对象 sm_query
 *
 */
public class SmQuery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Integer productId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 身份证 */
    @Excel(name = "身份证")
    private String cardNo;

    /** 电话 */
    @Excel(name = "电话")
    private String tel;

    /** 更多关键字 */
    @Excel(name = "更多关键字")
    private String moreKeyword;

    /** 查询结果 */
    @Excel(name = "查询结果")
    private String queryInfo;

    /** 设备标识 */
    @Excel(name = "设备标识")
    private String sign;

    /** 删除标志（0代表存在；2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在；2代表删除")
    private String delFlag;

    public SmQuery() {
    }

    public SmQuery(Integer id, String queryInfo) {
        this.id = id;
        this.queryInfo = queryInfo;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCardNo(String cardNo) 
    {
        this.cardNo = cardNo;
    }

    public String getCardNo() 
    {
        return cardNo;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setMoreKeyword(String moreKeyword) 
    {
        this.moreKeyword = moreKeyword;
    }

    public String getMoreKeyword() 
    {
        return moreKeyword;
    }
    public void setQueryInfo(String queryInfo) 
    {
        this.queryInfo = queryInfo;
    }

    public String getQueryInfo() 
    {
        return queryInfo;
    }
    public void setSign(String sign) 
    {
        this.sign = sign;
    }

    public String getSign() 
    {
        return sign;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("productId", getProductId())
            .append("name", getName())
            .append("cardNo", getCardNo())
            .append("tel", getTel())
            .append("moreKeyword", getMoreKeyword())
            .append("queryInfo", getQueryInfo())
            .append("sign", getSign())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
